Part Number Hot Search : 
7N60C3 SA594N IRF7341N 5KP40A AD7794 D2N230CF NTE161 MAT4A
Product Description
Full Text Search
 

To Download STM32F0DISCOVERY Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  may 2012 doc id 022910 rev 2 1/41 um1525 user manual STM32F0DISCOVERY discovery kit for stm32 f0 microcontrollers introduction the STM32F0DISCOVERY helps you to discover the stm32 f0 cortex?-m0 features and to develop your applications easily. it is based on stm32f051r8t6, an stm32 f0 series 32-bit arm? cortex? microcontroller, and includes an st-link/v2 embedded debug tool, leds, push buttons and a prototyping board. figure 1. STM32F0DISCOVERY table 1. applicable tools type part number evaluation tools STM32F0DISCOVERY www.st.com
contents um1525 2/41 doc id 022910 rev 2 contents 1 conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 development toolchain supporting the STM32F0DISCOVERY . . . . . . . . . 7 2.4 order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 hardware and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.1 stm32f051r8t6 microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 embedded st-link/v2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.2.1 using st-link/v2 to program/debug the stm32 f0 on board . . . . . . . 15 4.2.2 using st-link/v2 to program/debug an external stm32 application . . 16 4.3 power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.4 leds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.5 push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.6 jp2 (idd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.7 osc clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.1 osc clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.7.2 osc 32 khz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.8 solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.9 extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5 connecting modules on the prototyping board . . . . . . . . . . . . . . . . . . 27 5.1 mikroelektronica accessory boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.2 st mems ?adapter boards?, standard dil24 socket . . . . . . . . . . . . . . . . 30 5.3 arduino shield boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6 mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7 electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
um1525 contents doc id 022910 rev 2 3/41 8 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
list of tables um1525 4/41 doc id 022910 rev 2 list of tables table 1. applicable tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. on/off conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 table 3. jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 table 4. debug connector cn3 (swd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 table 5. solder bridge settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 6. mcu pin description versus board function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 7. connecting using mikrobus? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 7 table 8. connecting using idc10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 9. connecting with a dil24 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 10. supported mems adapter boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 11. connecting with arduino shields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
um1525 list of figures doc id 022910 rev 2 5/41 list of figures figure 1. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 2. hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 3. top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 4. bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 5. stm32f051r8t6 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 6. stm32f051r8t6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 7. typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 8. STM32F0DISCOVERY connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 9. st-link connections image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 10. using idc10 and mikrobus? connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 11. dil24 socket connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 12. arduino shield board connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 13. STM32F0DISCOVERY mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 14. STM32F0DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 15. st-link/v2 (swd only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 16. mcu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
conventions um1525 6/41 doc id 022910 rev 2 1 conventions ta bl e 2 provides the definition of some conventions used in the present document. table 2. on/off conventions convention definition jumper jp1 on jumper fitted jumper jp1 off jumper not fitted solder bridge sbx on sbx connections closed by solder solder bridge sbx off sbx connections left open
um1525 quick start doc id 022910 rev 2 7/41 2 quick start the STM32F0DISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate and start development with an stm32 f0 series microcontroller. before installing and using the product, pleas e accept the evaluation product license agreement from www.st.com/STM32F0DISCOVERY . for more information on the STM32F0DISCOVERY and for demonstration software, visit www.st.com/stm3 2f0discovery . 2.1 getting started follow the sequence below to configure the STM32F0DISCOVERY board and launch the discover application: 1. check jumper position on the board, jp2 on, cn2 on (discovery selected). 2. connect the STM32F0DISCOVERY board to a pc with a usb cable ?type a to mini-b? through usb connector cn1 to power the board. red led ld1 (pwr) and ld2 (com) light up and green led ld3 blinks. 3. press user button b1 (bottom left corner of the board). 4. observe how the green led ld3 blinking changes according to user button b1 clicks. 5. each click on user button b1 is confirmed by the blue led ld4. 6. to study or modify the discover project related to this demo, visit www.st.com/STM32F0DISCOVERY and follow the tutorial. 7. discover the stm32f0 features, download and execute programs proposed in the list of projects. 8. develop your own application using available examples. 2.2 system requirements
features um1525 8/41 doc id 022910 rev 2 3 features the STM32F0DISCOVERY kit offers the following features:
um1525 hardware and layout doc id 022910 rev 2 9/41 4 hardware and layout the STM32F0DISCOVERY is designed around the stm32f051r8t6 microcontroller in a 64-pin lqfp package. figure 2 illustrates the connections between the s tm32f051r8t6 and its peripherals (st- link/v2, push button, leds and connectors). figure 3 and figure 4 help you to locate these features on the STM32F0DISCOVERY. figure 2. hardware block diagram -36 " 53%2 )/ -ini 53" ,$ 0# " 234 2%3%4 )/ )/ (eader (eader 37$ %mbedded 34 ,).+6 34-&24 ,%$ ,$ 0# ,%$
hardware and layout um1525 10/41 doc id 022910 rev 2 figure 3. top layout ms30024v1 (red/green led) ld2 com cn3 swd connector idd measurement s t-link/v2 b1 user bu tton b2 reset bu tton ld1 (red led) pwr cn2 s t-link/dis covery selector (green led) ld 3 ld4 (b lue led) stm32f051r8t6 jp2 5v power supply input output 3 v power supply input output s b1 (vbat) sb3 (b1-user) sb4 (b2-reset) note: pin 1 of cn2, cn3, p1 and p2 connectors are identified by a square.
um1525 hardware and layout doc id 022910 rev 2 11/41 figure 4. bottom layout sb6, sb8, sb10, sb12 ms30025v1 sb5, sb7, sb9, sb11 (res erved) (default) sb20, sb21 (x3 crystal) sb14, s b15 (rx, tx) sb19 (nrst) sb16, s b17 (x2 crystal) sb13 (stm_rst) sb22 (t_s wo) sb18 (mco)
hardware and layout um1525 12/41 doc id 022910 rev 2 4.1 stm32f051r8t6 microcontroller this 32-bit low- and medium-density advanced arm? mcu with a high-performance arm cortex?-m0 32-bit risc core has 64 kbytes flash, 8 kbytes ram, rtc, timers, adc, dac, comparators and communication interfaces. figure 5. stm32f051r8t6 package -36 34-&24 +byteof&lashmemory +bytesof2!- ,1&0xmm the stm32 f0 delivers 32-bit performance and stm 32 dna essentials into applications typically addressed by 8- or 16-bit microcontrollers. it benefits from the combination of real- time performance, low-power operation, advanced architecture and peripherals associated to the stm32 ecosystem, which has made the stm32 a reference in the market. now all this is accessible for cost-sensitive applicatio ns. the stm32 f0 offers unparalleled flexibility and scalability for home ente rtainment products, appliances , and industrial equipment. this device provides the following benefits. superior code execution for better performance and excellent code efficiency for reduced embedded memory usage high-performance connectivity and advanced analog peripherals to support a wide range of applications flexible clock options and low power modes with fast wake-up for low power consumption it has the following key features: core and operating conditions ? arm? cortex?-m0 0.9 dmips/mhz up to 48 mhz ? 1.8/2.0 to 3.6 v supply range high-performance connectivity ? 6 mbit/s usart ? 18 mbit/s spi with 4- to 16-bit data frame ? 1 mbit/s i2c fast-mode plus ?hdmi cec enhanced control ? 1x 16-bit 3-phase pwm motor control timer ? 5x 16-bit pwm timers ? 1x 16-bit basic timer ? 1x 32-bit pwm timer ? 12 mhz i/o toggling
um1525 hardware and layout doc id 022910 rev 2 13/41 figure 6. stm32f051r8t6 block diagram 0!;  = %84)4 .6)#  bit!$#  !$inputs 37#,+ 37$!4 .234 6 $$  to 6  !& !(" 32!- 7+50 6 33 3#, 3$! )# 6 $$! '0$-! channels 84!, /3#   -(z 84!, k(z /3#). 0& /3#/54 0& /3#?/54 /3#?). !("0#,+ (#,+ !0"0#,+ as !& &,!3( 6/,4 2%' 64 / 6 6 $$ 0/7%2 24# interface as!& "us-atrix bits )nterface +" 24# #/24%8 -#05 f (#,+ -(z obl flash 30) "ackup reg 3#, 3$! 3-"al )# as !& 4emp sensor 6 33! channels  compl channels "2+ %42 input as !& ch %42as!& &#,+ 0ower )77$' 6 $$ 637 0/2  0$2 3500,9 6 $$! 6 $$! 6 $$! 6 "!4  6 to  6 28 48 #43 243 #+ as !& 28 48 #43 243 #+ as !& .6)# 30))3 )& #ontroller 6 $$! 350%26)3)/. 06$ 2eset )nt 6 $$ !0" 0/2 4!-0%2 24# 2%3%4 #,/#+ #/.42/, !$##,+ 0,,  bit$!# )&)& )& 6 $$! $!#?/54 as !& 4)-%2  !,!2- /54 3erial7ire $ebug #%##,+ -)3/-#+ 0";= 0#;= 0$ 0&; = channels ch %42as!& channelas!& 6 $$  +" ($-) #%# #%# as !& 2#(3-(z 53!24#,+  channel compl "2+as!& channel compl "2+as!&  compl "2+ as !& controller 32!- #2# 4ouch 3ensing #ontroller '0 #om parat or  '0 #omparator  ).054 /54054 393#&' )& groupsof  channels !nalog switches 6 $$! m! for &- )2?/54as!& $"'-#5 !(" decoder 39.# -36 4)-%2 4)-%2 4)-%2 4)-%2 4)-%2 4)-%2 4)-%2 53!24 53!24 '0)/port! '0)/port" '0)/port# '0)/port$ '0)/port& -/3) -)3/ 3#+ .33 as !& 2#(3-(z 2#,3 3#+#+ ).054 as!& -/3)3$ .3373as!& 77$'
hardware and layout um1525 14/41 doc id 022910 rev 2 4.2 embedded st-link/v2 the st-link/v2 programming and debugging tool is integrated on the STM32F0DISCOVERY. the embedded st-link/v2 can be used in 2 different ways according to the jumper states (see ta bl e 3 ):  program/debug the mcu on board,  program/debug an mcu in an external application board using a cable connected to swd connector cn3. the embedded st-link/v2 supports only swd for stm32 devices. for information about d ebugging and programming features refer to user manual um1075 ( st-link/v2 in-circuit debugger/programmer for stm8 and stm32 ) which describes in det ail all the st-link/v2 features. figure 7. typical configuration -36 (ardwarerequirements 53"cabletype!tomini " computerwith7indows80 6istaor $evelopmenttoolchain !ltium 4!3+).'68 4oolset !tollic 4rue345$)/ )!2 %7!2- +eil -$+ !2- table 3. jumper states jumper state description both cn2 jumpers on st-link/v2 functions enabled for on board programming (default) both cn2 jumpers off st-link/v2 functions enabled for application through external cn3 conn ector (swd supported)
um1525 hardware and layout doc id 022910 rev 2 15/41 4.2.1 using st-link/v2 to program/debug the stm32 f0 on board to program the stm32 f0 on board, simply plug in the two jumpers on cn2, as shown in figure 8 in red, but do not use the cn3 connector as that could disturb communication with the stm32f051r8t6 of the STM32F0DISCOVERY. figure 8. STM32F0DISCOVERY connections image
hardware and layout um1525 16/41 doc id 022910 rev 2 4.2.2 using st-link/v2 to program/d ebug an external st m32 application it is very easy to use the st-link/v2 to program the stm32 on an external application. simply remove the 2 jumpers from cn2 as shown in figure 9 , and connect your application to the cn3 debug connector according to ta b l e 4 . note: sb19 and sb22 must be off if you use cn3 pin 5 in your external application. table 4. debug connector cn3 (swd) pin cn3 designation 1 vdd_target vdd from application 2 swclk swd clock 3 gnd ground 4 swdio swd data input/output 5 nrst reset of target mcu 6 swo reserved figure 9. st-link connections image
um1525 hardware and layout doc id 022910 rev 2 17/41 4.3 power supply and power selection the power supply is provided either by the host pc through the usb cable, or by an external 5v power supply. the d1 and d2 diodes protect the 5v and 3v pins from external power supplies:
hardware and layout um1525 18/41 doc id 022910 rev 2 4.7 osc clock 4.7.1 osc clock supply pf0 and pf1 can be used as gpio or as hs e oscillator. by default these i/os are configured as gpio, so sb16 and sb17 are closed, sb18 is open and r22, r23, c13 and c14 are not populated. an external hse clock can be provided to the mcu in three ways:
um1525 hardware and layout doc id 022910 rev 2 19/41 4.8 solder bridges table 5. solder bridge settings bridge state (1) description sb16,17 (x2 crystal) (2) 2. osc_in clock comes from mco if sb18 is on and sb16,17 are off  and comes from x2 if sb18 is off and sb16,17 are on. off x2, c13, c14, r22 and r23 provide a clock. pf0, pf1 are disconnected from p 1. on pf0, pf1 are connected to p1 (r22 , r23 and sb18 must not be fitted). sb6,8,10,12 (default) on reserved, do not modify. sb5,7,9,11 (reserved) off reserved, do not modify. sb20,21 (x3 crystal) off x3, c15, c16, r24 and r25 deliver a 32 khz clock. pc14, pc15 are not con nected to p1. on pc14, pc15 are only connected to p1 (r24, r25 must not be fitted). sb4 (b2-reset) on b2 push button is connected to the nrst pin of the stm32f051r8t6 mcu . off b2 push button is not connect ed the nrst pin of the stm32f051r8t6 mcu. sb3 (b1-user) on b1 push button is connected to pa0. off b1 push button is not connected to pa0. sb1 (vbat powered from vdd) on vbat is permanently powered from vdd. off vbat is not powered from vdd but pin3 of p1. sb14,15 (rx,tx) off reserved, do not modify. on reserved, do not modify. sb19 (nrst) on nrst signal of the cn3 connector is connected to the nrst pin of the stm32f051r8t6 mcu. off nrst signal of the cn3 connector is not connected to the nrst pin of the stm32f051r 8t6 mcu. sb22 (t_swo) on swo signal of the cn3 connector is connected to pb3. off swo signal is not connected. sb13 (stm_rst) off no incidence on stm32f103c8t6 (st-link/v2) nrst signal. on stm32f103c8t6 (st-link/v2) nrst si gnal is connected to gnd. sb2 (boot0) on boot0 signal of the stm32f051r8 t6 mcu is held low through a 510 ohm pull-down resistor. off boot0 signal of the stm32f051r8t6 mcu can be set high through a 10 kohm pull-up resistor r27 to solder. sb18 (mco) (2) on provides the 8 mhz for osc_in from mc o of stm32f103c8t6. off see sb16, sb17 description. 1. default sbx state is shown in bold.
hardware and layout um1525 20/41 doc id 022910 rev 2 4.9 extension connectors the male headers p1 and p2 can connect the STM32F0DISCOVERY to a standard prototyping/wrapping board. stm32f051r8t6 gpi/os are available on these connectors. p1 and p2 can also be pr obed by an oscilloscope, lo gical analyzer or voltmeter. table 6. mcu pin description versus board function (page 1 of 7) mcu pin board function main function alternate functions lqfp64 push button led swd osc free i/o power supply cn3 p1 p2 boot0 boot0 60 6 nrst nrst 7 reset nrst 5 10 pa 0 2_cts,
um1525 hardware and layout doc id 022910 rev 2 21/41 pa 4 1_nss / 1_ws,
hardware and layout um1525 22/41 doc id 022910 rev 2 pa 1 0 1_rx,
um1525 hardware and layout doc id 022910 rev 2 23/41 pb4 1_miso / 1_mck,
hardware and layout um1525 24/41 doc id 022910 rev 2 pb14 2_miso,
um1525 hardware and layout doc id 022910 rev 2 25/41 pc14- osc32_
hardware and layout um1525 26/41 doc id 022910 rev 2 gnd 9 gnd 33 33 table 6. mcu pin description versus board function (page 7 of 7) mcu pin board function main function alternate functions lqfp64 push button led swd osc free i/o power supply cn3 p1 p2
um1525 connecting modules on the prototyping board doc id 022910 rev 2 27/41 5 connecting modules on the prototyping board this section gives some examples of how to connect ready-to-use modules available from different manufacturers to the STM32F0DISCOVERY kit via the prototyping board included in the kit. software examples, based on the connections described below, are available at www.st.com/stm3 2f 0discovery . 5.1 mikroelektronica accessory boards mikroelektronika, http://www.mikroe.com, has specified two standard connectors for their accessory boards, named mikrobus? (http://www.mikroe.com/mikrobus_specs.pdf) and idc10. mikrobus? is a 16-pin connector to connect ac ce ssory boards very quickly and easily to a microcontroller board through spi, usart or i2c communications, along with additional pins such as analog input, pwm and interrupt. the set of mikroelektronika boards compatib le with mikrob us? is called ?click boards?. idc10 is a 10-pin connector to connect the general purpose i/o of an mcu to other ac cessory boards. the tables below are one solution for connecting mikrobus? and idc boards to the STM32F0DISCOVERY; this solution used in th e different examples is available at www.st.com/stm3 2f 0discovery . table 7. connecting using mikrobus? mikroelektronica mikrobus? STM32F0DISCOVERY pin description pin description an analog pin pa 4 dac1_out rst reset pin pb13 gpio output (5v tolerant) cs spi chip select line pa 1 1 gpio output (5v tolerant) sck spi clock line pb3 spi1_sck miso spi slave output line pb4 spi1_miso mosi spi slave input line pb5 spi1_mosi pwm pwm output line pa 8 tim1_ch1 int hardware interrupt line pb12 gpio input exti (5v tolerant) rx uart receive line pa 3 usart2_rx tx uart transmit line pa 2 usart2_tx scl i2c clock line pf6 i2c2_scl sda i2c data line pf7 i2c2_sda 5v vcc 5v power line 5v power line
connecting modules on the prototyping board um1525 28/41 doc id 022910 rev 2 table 8. connecting using idc10 mikroelektronica idc10 connector STM32F0DISCOVERY p0 gpio pc0 gpio output (3.3v tolerant) p1 gpio pc1 gpio output (3.3v tolerant) p2 gpio pc2 gpio output (3.3v tolerant) p3 gpio pc3 gpio output (3.3v tolerant) p4 gpio pc4 gpio output (3.3v tolerant) p5 gpio pc5 gpio output (3.3v tolerant) p6 gpio pc6 gpio output (5v tolerant) p7 gpio pc7 gpio output (5v tolerant) vcc vcc 5v power line 3v vdd gnd reference ground gnd vss p0 gpio pc0 gpio output (3.3v tolerant) p1 gpio pc1 gpio output (3.3v tolerant) p2 gpio pc2 gpio output (3.3v tolerant) p3 gpio pc3 gpio output (3.3v tolerant)
um1525 connecting modules on the prototyping board doc id 022910 rev 2 29/41 the figure 10 illustrates the connections between the stm32f0 discovery and the 2 connectors, idc10 and mikrobus?. figure 10. using idc10 and mikrobus? connectors
connecting modules on the prototyping board um1525 30/41 doc id 022910 rev 2 5.2 st mems ?adapter boards?, standard dil24 socket stmicroelectronics has defined a standard dil24 connector to easily evaluate its mems sensors connected to a microcontroller through spi or i2c communications. ta bl e 9 is one solution for connecting the dil24 boards to the STM32F0DISCOVERY, this solution is used in different examples and available at www.st.com/STM32F0DISCOVERY . table 9. connecting with a dil24 board st mems dil24 eval board STM32F0DISCOVERY p01 vdd power supply 3v vdd p02 vdd_io power supply for i/o pins 3v vdd p03 nc p04 nc p05 nc p06 nc p07 nc p08 nc p09 nc p10 nc p11 nc p12 nc p13 gnd 0v supply gnd gnd p14 int1 inertial interrupt 1 pb12 gpio input exti (5v tolerant) p15 int2 inertial interrupt 2 pb11 gpio input exti (5v tolerant) p16 nc p17 nc p18 nc p19 cs - 0:spi enabled 1:i2c mode pa 1 1 gpio output (5v tolerant) p20 scl (i2c serial clock)  spc (spi serial clock) pb6 pb3 i2c1_scl  spi1_sck p21 sda i2c serial data  sdi spi serial data input pb7 pb5 i2c1_sda  spi1_mosi p22 sdo spi serial data output  i2c less significant bit of the device address pb4 spi1_miso p23 nc p24 nc
um1525 connecting modules on the prototyping board doc id 022910 rev 2 31/41 figure 11 illustrates the connections between the stm32f0 disc overy and the dil24 socket. figure 11. dil24 socket connections
connecting modules on the prototyping board um1525 32/41 doc id 022910 rev 2 supported mems adapter boards ta bl e 10 is a list of supported mems adapter boards as of april, 2012. table 10. supported mems adapter boards st mems dil24 eval board core product steval-mki009v1 lis3lv02dl steval-mki013v1 lis302dl steval-mki015v1 lis344alh steval-mki082v1 lpy4150al steval-mki083v1 lpy450al steval-mki084v1 lpy430al steval-mki085v1 lpy410al steval-mki086v1 lpy403al steval-mki087v1 lis331dl steval-mki088v1 lis33de steval-mki089v1 lis331dlh steval-mki090v1 lis331dlf steval-mki091v1 lis331dlm steval-mki092v1 lis331hh steval-mki095v1 lpr4150al steval-mki096v1 lpr450al steval-mki097v1 lpr430al steval-mki098v1 lpr410al steval-mki099v1 lpr403al steval-mki105v1 lis3dh steval-mki106v1 lsm303dlhc steval-mki107v1 l3g4200d steval-mki107v2 l3gd20 steval-mki108v1 9axismodule v1 [lsm303dlhc + l3g4200d] steval-mki108v2 9axismodule v2 [lsm303dlhc + l3gd20] steval-mki110v1 ais328dq steval-mki113v1 lsm303dlm steval-mki114v1 mag probe (based on lsm303dlhc) steval-mki120v1 lps331ap steval-mki122v1 lsm330dlc steval-mki123v1 lsm330d steval-mki124v1 10axismodule [lsm303dlhc + l3gd20+ lps331 ap] steval-mki125v1 a3g4250d note: for an up-to-date list, visit http://www.st.com/internet/evalboard/subclass/1116.jsp . the dil24 boards are described as ?adapter boards? in the field ?general description?.
um1525 connecting modules on the prototyping board doc id 022910 rev 2 33/41 5.3 arduino shield boards arduino? is an open-source electronics prototypin g platform based on flexible, easy-to-use hardware and software. see http://www.arduino.cc for more information. arduino accessory boards are called ?shields? and can be easily connected to the stm32f0 discovery accordin g to the following table. table 11. connecting with arduino shields connecting with arduino shields arduino power connector STM32F0DISCOVERY reset reset from shield board nrst reset discovery 3v3 vcc 3.3v power line 3v vdd 5v vcc 5v power line 5v vdd gnd reference ground gnd reference ground gnd reference ground gnd reference ground vin external alimentation vbat jumper to fit arduino analog in connector STM32F0DISCOVERY a0 analog input or digital pin 14 pc0 adc_in10 a1 analog input or digital pin 15 pc1 adc_in11 a2 analog input or digital pin 16 pc2 adc_in12 a3 analog input or digital pin 17 pc3 adc_in13 a4 analog input or sda or digital pin 18 pc4 or pf7 adc_in14 or i2c2_sda a5 analog input or scl or digital pin 19 pc5 or pf6 adc_in15 or i2c2_scl arduino digital connector STM32F0DISCOVERY d0 digital pin 0 or rx pa 3 usart2_rx d1 digital pin 1 or tx pa 2 usart2_tx d2 digital pin 2 / external interrupt pb12 exti (5v tolerant) d3 digital pin 3 / ext int or pwm pb11 exti (5v tolerant ) or tim2_ch4 d4 digital pin 4 pa 7 gpio (3v tolerant) d5 digital pin 5 or pwm pb9 tim17_ch1 d6 digital pin 6 or pwm pb8 tim16_ch1 d7 digital pin 7 pa 6 gpio (3v tolerant) d8 digital pin 8 pa 5 gpio (3v tolerant) d9 digital pin 9 or pwm pa 4 tim14_ch1 d10 digital pin 10 or cs or pwm pa 1 1 tim1_ch4 d11 digital pin 11 or mosi or pwm pb5 spi1_mosi or tim3_ch2 d12 digital pin 12 or miso pb4 spi1_miso d13 digital pin 13 or sck pb3 spi1_sck gnd reference ground gnd reference ground aref adc voltage reference nc not connected
connecting modules on the prototyping board um1525 34/41 doc id 022910 rev 2 arduino icsp connector STM32F0DISCOVERY 1 miso pb4 spi1_miso 2 vcc 3.3v 3v vdd 3 sck pb3 spi1_sck 4 mosi pb5 spi1_mosi 5 rst nrst reset discovery 6 gnd gnd reference ground connecting with arduino shields (continued)
um1525 connecting modules on the prototyping board doc id 022910 rev 2 35/41 figure 12 illustrates the connections between th e stm32f0 disc overy and the arduino shield boards. figure 12. arduino shield board connections
mechanical drawing um1525 36/41 doc id 022910 rev 2 6 mechanical drawing figure 13. STM32F0DISCOVERY mechanical drawing
um1525 electrical schematics doc id 022910 rev 2 37/41 7 electrical schematics figure 14. STM32F0DISCOVERY 1 1 2 2 3 3 4 4 stmicroelectronics title: number: rev: sheet of b.0(pcb.sch) date: 2/3/2012 mb1034 1 3 STM32F0DISCOVERY pa13 pa14 nrst pb3 mco pa10 pa9 u_st_link st_link_v2.schdoc pa13 pa14 tck/swclk tms/swdio mco nrst pb3 t_swo t_nrst pa13 pa14 pa15 pa12 pa0 pa1 pa2 pa3 pa4 pa5 pa6 pa7 pa8 pa9 pa10 pa11 pb12 pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pb8 pb9 pb10 pb11 pb13 pb14 pb15 pc3 pc15 pc14 pc13 pc12 pc11 pc10 pc9 pc8 pc7 pc6 pc5 pc4 pc2 pc1 pc0 pd2 boot0 nrst mco vbat pf7 pf6 pf5 pf4 pf1 pf0 u_stm32fx stm32fx.schdoc mco pa0 pa1 pa2 pa3 pa4 pa5 pa6 pa7 pa8 pa9 pa10 pa11 pa12 pa13 pa14 pa15 pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pb8 pb9 pb10 pb11 pb12 pb13 pb14 pb15 pc0 pc1 pc2 pc3 pc4 pc5 pc6 pc7 pc8 pc9 pc10 pc11 pc12 pc13 pc14 pc15 pf0 boot0 nrst pd2 revb.0 --> pcb label mb1034 b-00 pa6, pa7, pc4, pc5, pb0, pb1 are available and p1, p2 are header 33 pts reva.0 --> pcb label mb1034 a-00 pa4 pa5 pa0 pa3 pa2 pa1 pb14 pb15 pb2 pb12 pb13 pc0 pc1 pc2 pc3 nrst pf1 pf0 pc15 pc14 pc13 vbat pb10 pb11 pc7 pc8 pc9 pa8 pa9 pa10 pa11 pa12 pa14 boot0 pb8 pb9 pa13 pa15 pc10 pc11 pc12 pd2 pb3 pb4 pb5 pb6 pb7 pc6 pf4 pf5 pf6 pf7 vdd 3v 5v vbat pf1 pf4 pf5 pf6 pf7 pa10 pa9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 p1 header 33 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 p2 header 33 pa6 pa7 pc4 pc5 pb0 pb1
electrical schematics um1525 38/41 doc id 022910 rev 2 figure 15. st-link/v2 (swd only) stmicroelectronics title: number: rev: sheet of b 0(pcb sch) date: 2/3/2012 c10 20pf c11 20pf 1 2 x1 8mhz 3v usb_dm usb_dp stm_rst t_jtck t_jtck t_jtdo t_jtdi t_jtms stm_jtms stm_jtck osc_in osc_out t_nrst r20 4k7 r21 4k7 ain_1 c8 100nf r16 100k r13 100k 3v 3v 3v swim_in swim_in swim_in swim swim swim_rst_in swim_rst mb1034 2 3 STM32F0DISCOVERY st-link/v2 (swd only) usb_dm usb_dp 3v r6 1k5 r7 0 usb r5 100k vcc 1 d- 2 d+ 3 id 4 gnd 5 shell 0 cn1 5075bmr-05-sm u5v com 5v 3v r2 1k pwr ld1 red 5v c7 100nf c12 100nf c9 100nf c6 100nf 3v jumpers on --> discovery selected jumpers off --> st-link selected vbat 1 pa7 17 pc13 2 pa12 33 pc14 3 pb0 18 pc15 4 jtms/swdio 34 oscin 5 pb1 19 oscout 6 vss_2 35 nrst 7 pb2/boot1 20 vssa 8 vdd_2 36 vdda 9 pb10 21 pa0 10 jtck/swclk 37 pa1 11 pb11 22 pa2 12 pa15/jtdi 38 pa3 13 vss_1 23 pa4 14 pb3/jtdo 39 pa5 15 vdd_1 24 pa6 16 pb4/jntrst 40 pb12 25 pb5 41 pb13 26 pb6 42 pb14 27 pb7 43 pb15 28 boot0 44 pa8 29 pb8 45 pa9 30 pb9 46 pa10 31 vss_3 47 pa11 32 vdd_3 48 u2 stm32f103c8t6 board ident: pc13=0 t_jtck t_jtms swd 3v 1 2 3 4 cn2 sb6 sb5 sb8 sb7 sb10 sb9 sb12 sb11 stm_jtms stm_jtck swclk swdio swd reserved default 3v t_swdio_in t_swo led_stlink led_stlink 3v r4 100 r3 100 r1 0 red _green 2 1 3 4 ld2 ld_bicolor_cms r12 22 r14 22 r19 10k r18 10k pa13 pa14 tck/swclk tms/swdio vdd 3v r9 10k r8 0 not fitted mco c1 1f_x5r_0603 c3 10nf_x7r_0603 c4 1f_x5r_0603 c2 100nf c5 100nf mco not fitted t_jrst r11 100 1 2 3 4 5 6 cn3 header 6 r10 100 ain_1 t_nrst t_swo nrst pb3 r15 22 r17 22 sb19 sb22 t_nrst t_swo not fitted sb13 rc must be very close to stm32f103 pin 29 jp2 5 1 2 gnd 3 4 bypass inh vin vout u1 ld3985m33r d1 bat60jfilm d2 bat60jfilm d3 bat60jfilm r34 100 c24 20pf ext_5v out_3v jp1 tx rx stlink_rx not fitted sb14 sb15 stlink_tx pa10 pa9 stm32f0_usart1_tx stm32f0_usart1_rx close to jp not fitted idd
um1525 electrical schematics doc id 022910 rev 2 39/41 figure 16. mcu stmicroelectronics title: number: rev: sheet of b.0(pcb.sch) date: 3/1/2012 mb1034 3 3 STM32F0DISCOVERY mcu vbat 1 pc13 - tamper1 - wkup2 2 pc14 - osc32_in 3 pc15 - osc32_out 4 pf0 - osc_in 5 pf1 - osc_out 6 nrst 7 pc0 8 pc1 9 pc2 10 pc3 11 vssa / vref- 12 vdda / vref+ 13 pa0 - tamper2 - wkup1 14 pa1 15 pa2 16 pa3 17 pf4 18 pf5 19 pa4 20 pa5 21 pa6 22 pa7 23 pc4 24 pc5 25 pb0 26 pb1 27 pb2 or npor (1.8v mode) 28 pb10 29 pb11 30 vss_2 31 vdd_2 32 pb12 33 pb13 34 pb14 35 pb15 36 pc6 37 pc7 38 pc8 39 pc9 40 pa8 41 pa9 42 pa10 43 pa11 44 pa12 45 pa13 46 pf6 47 pf7 48 pa14 49 pa15 50 pc10 51 pc11 52 pc12 53 pd2 54 pb3 55 pb4 56 pb5 57 pb6 58 pb7 59 boot0 60 pb8 61 pb9 62 vss_1 63 vdd_1 64 u3 stm32f051r8t6 c21 100nf c19 100nf vdd c20 100nf vdd pa0 pa1 pa2 pa3 pa4 pa5 pa6 pa7 pa8 pa9 pa10 pa11 pa12 pa13 pa14 pa15 pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pb8 pb9 pb10 pb11 pb12 pb13 pb14 pb15 pc0 pc1 pc2 pc3 pc4 pc5 pc6 pc7 pc8 pc9 pc10 pc11 pc12 pc13 pc14 pc15 pf0 pf1 pf4 pf5 pf6 pf7 pd2 c15 6.8pf c16 6.8pf r24 0 r25 0 c13 20pf c14 20pf r22 390 vdd r27 10k vdd nrst boot0 1 2 x2 8mhz 4 1 3 2 x3 mc306-g-06q-32.768 (jfvny) r26 510 sb2 boot0 pa14 pa15 pc10 pc11 pc12 pd2 pb3 pb4 pb5 pb6 pb7 pb8 pb9 pb12 pb13 pb14 pb15 pc6 pc7 pc8 pc9 pa8 pa9 pa10 pa11 pa12 pa13 pf6 pf7 pa3 pa4 pa5 pa6 pa7 pc4 pc5 pf4 pf5 pb0 pb1 pb2 pb10 pb11 ld3 green pc9 r30 330 ld4 blue pc8 r31 660 c22 100nf r29 220k vdd sb3 r28 330 r32 100 user & wake-up button pa0 not fitted nrst nrst reset button c23 100nf r33 100k vdd sb4 not fitted 1 4 3 2 b2 sw-push-cms 1 4 3 2 b1 sw-push-cms mco mco sb18 pc14 pc15 pf0 pf1 pc13 sb20 pa0 pa1 pa2 pc0 pc1 pc2 sb17 sb21 vdd r23 0 sb16 c18 1uf pc3 vdd vbat c17 1uf sb1 close to xtal & mcu close to stm32 not fitted not fitted not fitted not fitted
revision history um1525 40/41 doc id 022910 rev 2 8 revision history table 12. document revision history date revision changes 20-mar-2012 1 initial release. 30-may-2012 2 added section 5: connecting modules on the prototyping board on page 27 .
um1525 doc id 022910 rev 2 41/41


▲Up To Search▲   

 
Price & Availability of STM32F0DISCOVERY

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X